Optimal. Leaf size=787 \[ \frac{\sqrt{a+b x+c x^2} \left (-2 c e (5 b d-4 a e)+b^2 e^2-2 c e x (2 c d-b e)+8 c^2 d^2\right )}{8 c e (e f-d g)^2}-\frac{e \sqrt{a+b x+c x^2} \left (-2 c g (5 b f-4 a g)+b^2 g^2-2 c g x (2 c f-b g)+8 c^2 f^2\right )}{8 c g^2 (e f-d g)^2}-\frac{3 \left (-4 c g (2 b f-a g)+b^2 g^2+8 c^2 f^2\right ) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{8 \sqrt{c} g^3 (e f-d g)}-\frac{(2 c d-b e) \left (-4 c e (2 b d-3 a e)-b^2 e^2+8 c^2 d^2\right ) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{16 c^{3/2} e^2 (e f-d g)^2}+\frac{e (2 c f-b g) \left (-4 c g (2 b f-3 a g)-b^2 g^2+8 c^2 f^2\right ) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{16 c^{3/2} g^3 (e f-d g)^2}+\frac{\left (a e^2-b d e+c d^2\right )^{3/2} \tanh ^{-1}\left (\frac{-2 a e+x (2 c d-b e)+b d}{2 \sqrt{a+b x+c x^2} \sqrt{a e^2-b d e+c d^2}}\right )}{e^2 (e f-d g)^2}-\frac{e \left (a g^2-b f g+c f^2\right )^{3/2} \tanh ^{-1}\left (\frac{-2 a g+x (2 c f-b g)+b f}{2 \sqrt{a+b x+c x^2} \sqrt{a g^2-b f g+c f^2}}\right )}{g^3 (e f-d g)^2}+\frac{3 (2 c f-b g) \sqrt{a g^2-b f g+c f^2} \tanh ^{-1}\left (\frac{-2 a g+x (2 c f-b g)+b f}{2 \sqrt{a+b x+c x^2} \sqrt{a g^2-b f g+c f^2}}\right )}{2 g^3 (e f-d g)}+\frac{3 \sqrt{a+b x+c x^2} (-3 b g+4 c f-2 c g x)}{4 g^2 (e f-d g)}+\frac{\left (a+b x+c x^2\right )^{3/2}}{(f+g x) (e f-d g)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 3.08525, antiderivative size = 787, normalized size of antiderivative = 1., number of steps used = 23, number of rules used = 8, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.276 \[ \frac{\sqrt{a+b x+c x^2} \left (-2 c e (5 b d-4 a e)+b^2 e^2-2 c e x (2 c d-b e)+8 c^2 d^2\right )}{8 c e (e f-d g)^2}-\frac{e \sqrt{a+b x+c x^2} \left (-2 c g (5 b f-4 a g)+b^2 g^2-2 c g x (2 c f-b g)+8 c^2 f^2\right )}{8 c g^2 (e f-d g)^2}-\frac{3 \left (-4 c g (2 b f-a g)+b^2 g^2+8 c^2 f^2\right ) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{8 \sqrt{c} g^3 (e f-d g)}-\frac{(2 c d-b e) \left (-4 c e (2 b d-3 a e)-b^2 e^2+8 c^2 d^2\right ) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{16 c^{3/2} e^2 (e f-d g)^2}+\frac{e (2 c f-b g) \left (-4 c g (2 b f-3 a g)-b^2 g^2+8 c^2 f^2\right ) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{16 c^{3/2} g^3 (e f-d g)^2}+\frac{\left (a e^2-b d e+c d^2\right )^{3/2} \tanh ^{-1}\left (\frac{-2 a e+x (2 c d-b e)+b d}{2 \sqrt{a+b x+c x^2} \sqrt{a e^2-b d e+c d^2}}\right )}{e^2 (e f-d g)^2}-\frac{e \left (a g^2-b f g+c f^2\right )^{3/2} \tanh ^{-1}\left (\frac{-2 a g+x (2 c f-b g)+b f}{2 \sqrt{a+b x+c x^2} \sqrt{a g^2-b f g+c f^2}}\right )}{g^3 (e f-d g)^2}+\frac{3 (2 c f-b g) \sqrt{a g^2-b f g+c f^2} \tanh ^{-1}\left (\frac{-2 a g+x (2 c f-b g)+b f}{2 \sqrt{a+b x+c x^2} \sqrt{a g^2-b f g+c f^2}}\right )}{2 g^3 (e f-d g)}+\frac{3 \sqrt{a+b x+c x^2} (-3 b g+4 c f-2 c g x)}{4 g^2 (e f-d g)}+\frac{\left (a+b x+c x^2\right )^{3/2}}{(f+g x) (e f-d g)} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x + c*x^2)^(3/2)/((d + e*x)*(f + g*x)^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x**2+b*x+a)**(3/2)/(e*x+d)/(g*x+f)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 1.75953, size = 441, normalized size = 0.56 \[ \frac{1}{2} \left (\frac{2 \log (d+e x) \left (e (a e-b d)+c d^2\right )^{3/2}}{e^2 (e f-d g)^2}-\frac{2 \left (e (a e-b d)+c d^2\right )^{3/2} \log \left (2 \sqrt{a+x (b+c x)} \sqrt{e (a e-b d)+c d^2}+2 a e-b d+b e x-2 c d x\right )}{e^2 (e f-d g)^2}-\frac{\sqrt{c} \log \left (2 \sqrt{c} \sqrt{a+x (b+c x)}+b+2 c x\right ) (-3 b e g+2 c d g+4 c e f)}{e^2 g^3}+\frac{\log (f+g x) \sqrt{g (a g-b f)+c f^2} (g (-2 a e g+3 b d g-b e f)+2 c f (2 e f-3 d g))}{g^3 (e f-d g)^2}+\frac{\sqrt{g (a g-b f)+c f^2} \left (g (2 a e g-3 b d g+b e f)+c \left (6 d f g-4 e f^2\right )\right ) \log \left (2 \sqrt{a+x (b+c x)} \sqrt{g (a g-b f)+c f^2}+2 a g-b f+b g x-2 c f x\right )}{g^3 (e f-d g)^2}+\frac{2 \sqrt{a+x (b+c x)} \left (\frac{g (a g-b f)+c f^2}{(f+g x) (e f-d g)}+\frac{c}{e}\right )}{g^2}\right ) \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x + c*x^2)^(3/2)/((d + e*x)*(f + g*x)^2),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.032, size = 7959, normalized size = 10.1 \[ \text{output too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x^2+b*x+a)^(3/2)/(e*x+d)/(g*x+f)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (c x^{2} + b x + a\right )}^{\frac{3}{2}}}{{\left (e x + d\right )}{\left (g x + f\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(3/2)/((e*x + d)*(g*x + f)^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(3/2)/((e*x + d)*(g*x + f)^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x**2+b*x+a)**(3/2)/(e*x+d)/(g*x+f)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^(3/2)/((e*x + d)*(g*x + f)^2),x, algorithm="giac")
[Out]